package com.community.web.master.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.community.model.entity.GoodsCategory;
import com.community.web.master.domain.dto.GoodsCategoryDto;
import com.community.web.master.domain.dto.PageGoodsCategoryDto;
import com.community.web.master.domain.vo.PageResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 李晶
 * @since 2024-07-02
 */
public interface IGoodsCategoryService extends IService<GoodsCategory> {

    PageResult pageQuery(PageGoodsCategoryDto pageGoodsCategoryDto);

    void add(Integer parentId, String categoryName);

    void updateCategory(GoodsCategoryDto goodsCategoryDto);

    void deleteById(Integer id);
}
